package cn.keduox.entity;
import cn.keduox.annotation.Column;
import cn.keduox.annotation.Id;
import cn.keduox.annotation.Key;
import cn.keduox.annotation.Table;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 出版社类
 */
@Table(name = "press")
public class Press implements Serializable{
    /**
     * 出版社id
     */
    @Column(name = "id")
    @Id(name = "id")
    @Key(farther = "press")
    private String id;
    /**
     * 出版社名称
     */
    @Column(name = "press_name")
    private String name;
    /**
     * 固定字段
     */
    @Column(name = "create_by")
    private String createBy;
    @Column(name = "create_time")
    private Timestamp createTime;
    @Column(name = "update_by")
    private String updateBy;
    @Column(name = "update_time")
    private Timestamp updateTime;
    @Column(name = "del_flag")
    private Integer delFlag;

    public Press() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

}
